/*
 * SignHistoryContract.java
 * business
 *
 * Created by ChenTao on 2017/6/30.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.signhistory;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.interfaces.LoadMoreListener;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;
import com.yidiandao.business.interfaces.RefreshListener;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;

import java.util.List;

/** 抽奖记录 */
public interface SignHistoryContract {

    interface View
            extends BaseView<Presenter>,
            RefreshLayoutStateListener,
            LoadMoreListener,
            RefreshListener {
        void setDisplayListItems(List<DisplayListItem> displayListItems);

        void setRecordCount(String count);
    }

    interface Presenter extends BasePresenter {

        void getSignHistory(boolean isRefresh);
    }
}
